package net.adetech.dcweb.core.dc.entity;

import com.alibaba.fastjson.annotation.JSONField;
import net.adetech.utils.spring.IEntity;
import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @author auto
 */
public class DcInfo implements IEntity {
    @JSONField(name = "addDate", format = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date addDate;
    private String realName;
    private String remark;
    private String updateIp;
    private String uuid;
    //人员级别
    private Integer levelType;
    private String updateUser;
    private String cardNo;
    private String alarmIds;
    //是否骨干
    private Boolean leaderType;
    @JSONField(name = "commitAuditDate", format = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date commitAuditDate;
    private Long id;
    private Integer state;
    //是否涉公安
    private Boolean involvedType;
    private String addInfo;
    //范围类别0地级1省级
    private Integer scopeType;
    private Long createUserId;
    //性别
    private Boolean sex;
    private String updateInfo;
    private String cardType;
    @JSONField(name = "updateDate", format = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateDate;
    private Boolean isDelete;
    private Long currentAudit;
    private String addIp;
    //职业
    private String job;
    //人员类别0上访
    private Integer manType;
    private String addUser;
    private String photo;


    public String getPhoto() {
        return "data:image/png;base64," + photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public java.util.Date getAddDate() {
        return addDate;
    }

    public void setAddDate(java.util.Date addDate) {
        this.addDate = addDate;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getUpdateIp() {
        return updateIp;
    }

    public void setUpdateIp(String updateIp) {
        this.updateIp = updateIp;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Integer getLevelType() {
        return levelType;
    }

    public void setLevelType(Integer levelType) {
        this.levelType = levelType;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getAlarmIds() {
        return alarmIds;
    }

    public void setAlarmIds(String alarmIds) {
        this.alarmIds = alarmIds;
    }

    public Boolean getLeaderType() {
        return leaderType;
    }

    public void setLeaderType(Boolean leaderType) {
        this.leaderType = leaderType;
    }

    public java.util.Date getCommitAuditDate() {
        return commitAuditDate;
    }

    public void setCommitAuditDate(java.util.Date commitAuditDate) {
        this.commitAuditDate = commitAuditDate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Boolean getInvolvedType() {
        return involvedType;
    }

    public void setInvolvedType(Boolean involvedType) {
        this.involvedType = involvedType;
    }

    public String getAddInfo() {
        return addInfo;
    }

    public void setAddInfo(String addInfo) {
        this.addInfo = addInfo;
    }

    public Integer getScopeType() {
        return scopeType;
    }

    public void setScopeType(Integer scopeType) {
        this.scopeType = scopeType;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Boolean getSex() {
        return sex;
    }

    public void setSex(Boolean sex) {
        this.sex = sex;
    }

    public String getUpdateInfo() {
        return updateInfo;
    }

    public void setUpdateInfo(String updateInfo) {
        this.updateInfo = updateInfo;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public java.util.Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(java.util.Date updateDate) {
        this.updateDate = updateDate;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Long getCurrentAudit() {
        return currentAudit;
    }

    public void setCurrentAudit(Long currentAudit) {
        this.currentAudit = currentAudit;
    }

    public String getAddIp() {
        return addIp;
    }

    public void setAddIp(String addIp) {
        this.addIp = addIp;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public Integer getManType() {
        return manType;
    }

    public void setManType(Integer manType) {
        this.manType = manType;
    }

    public String getAddUser() {
        return addUser;
    }

    public void setAddUser(String addUser) {
        this.addUser = addUser;
    }
}